package com.goodmr.passport.device;

import org.springframework.data.jpa.repository.JpaRepository;

/**
 * 设备数据行为
 *
 * @author <a href="mailto:bingdong13@msn.com">bigo</a>
 */
interface DeviceRepository extends JpaRepository<DeviceEntity, Long> {

    DeviceEntity findByAccountIdAndNameAndToken(long accountId, String name, String token);
}
